package com.huan.study.mybatis.mappers;

import com.huan.study.mybatis.entity.User;

import java.util.List;

/**
 * @author YanXxx
 * @date 2022-11-03 18:29
 */
public interface UserMapper {

    Long addUser(User user);

    User findById(Long id);

    List<User> list();

    User findByName(String name);
}
